<style>
    .wrapper {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        width: 440px;
    }

    .wrapper .item {
        width: 100px;
        border: 1px solid red;
    }

    .wrapper .item:nth-child(3) {
       margin-right: 40px;
    }

</style>
<body>
    <div class="wrapper">
        <div class="item">1</div>
        <div class="item">2</div>
        <div class="item">3</div>
        <div class="item">4</div>
        <div class="item">5</div>
        <div class="item">6</div>
        <div class="item">7</div>
    </div>
</body>


